package com.ruoyi.project.system.commodity.domain;

import java.util.List;

public class SpecsKey {
    private int keyId;
    private String keyName;
    private int sortNum;
    private List<SpecsValue> specsValues;

    public SpecsKey() {
    }

    public SpecsKey(int keyId, String keyName, int sortNum, List<SpecsValue> specsValues) {
        this.keyId = keyId;
        this.keyName = keyName;
        this.sortNum = sortNum;
        this.specsValues = specsValues;
    }

    public int getKeyId() {
        return keyId;
    }

    public void setKeyId(int keyId) {
        this.keyId = keyId;
    }

    public String getKeyName() {
        return keyName;
    }

    public void setKeyName(String keyName) {
        this.keyName = keyName;
    }

    public int getSortNum() {
        return sortNum;
    }

    public void setSortNum(int sortNum) {
        this.sortNum = sortNum;
    }

    public List<SpecsValue> getSpecsValues() {
        return specsValues;
    }

    public void setSpecsValues(List<SpecsValue> specsValues) {
        this.specsValues = specsValues;
    }

    @Override
    public String toString() {
        return "SpecsKey{" +
                "keyId=" + keyId +
                ", keyName='" + keyName + '\'' +
                ", sortNum=" + sortNum +
                ", specsValues=" + specsValues +
                '}';
    }
}
